package fi.tikesos.validator.datatype;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import fi.tikesos.validator.Namespace;

@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement(name="ValidationResult", namespace=Namespace.rrv)
public class ValidationResult {
	@XmlElement(name="StatusCode", namespace=Namespace.rrv)
	private String statusCode = "success";
	@XmlElement(name="ErrorGraph", namespace=Namespace.rrv)
	private String errorGraph = null;
	@XmlElement(name="XMLContent", namespace=Namespace.rrv)
	private String xmlContent = null;

	/**
	 * @return
	 */
	public String getXmlContent() {
		return xmlContent;
	}

	/**
	 * @param xmlContent
	 */
	public void setXmlContent(String xmlContent) {
		this.xmlContent = xmlContent;
	}

	/**
	 * @param statusCode
	 */
	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	/**
	 * @return
	 */
	public String getStatusCode() {
		return statusCode;
	}

	/**
	 * @param errorGraph
	 */
	public void setErrorGraph(String errorGraph) {
		this.errorGraph = errorGraph;
	}
	
	/**
	 * @return
	 */
	public String getErrorGraph() {
		return errorGraph;
	}
}
